package com.wqiuqiu.gulimall.ware.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.wqiuqiu.common.PageUtils;
import com.wqiuqiu.gulimall.ware.entity.PurchaseEntity;
import com.wqiuqiu.gulimall.ware.vo.MergePurchaseVo;
import com.wqiuqiu.gulimall.ware.vo.PurchaseDoneVo;

import java.util.List;
import java.util.Map;

/**
 * 采购信息
 *
 * @author wqiuqiu
 * @email 18773489795@163.com
 * @date 2023-11-29 12:16:31
 */
public interface PurchaseService extends IService<PurchaseEntity> {

    PageUtils queryPage(Map<String, Object> params);

    PageUtils queryUnreceiveList(Map<String, Object> params);

    boolean mergePurchaseList(MergePurchaseVo mergePurchaseVo);

    void receivePurchaseList(List<Long> ids);

    void donePurchase(PurchaseDoneVo purchaseDoneVo);
}

